import {Component} from "react";
import {State} from "./types.tsx";
import {Col, Row, Statistic} from "antd";

class Home extends Component<any, State> {

    state: State = {

    }

    componentDidMount() {

    }

    render() {
        return (
            <>
                <Row gutter={16} >
                    <Col span={12}>
                        <Statistic title="活跃用户" value={112893} />
                    </Col>
                    <Col span={12}>
                        <Statistic title="累积充值金额（¥）" value={112893} precision={2} />
                    </Col>
                </Row>
                <Row gutter={16}>
                    <Col span={12}>
                    </Col>
                </Row>
            </>
        )
    }
}

export default Home;
